package cn.oms.manage.service;


import cn.oms.commons.pojo.vo.PageData;
import cn.oms.manage.pojo.param.DoctorAddNewParam;
import cn.oms.manage.pojo.param.DoctorUpdateParam;
import cn.oms.manage.pojo.param.MedicineUpdateParam;
import cn.oms.manage.pojo.vo.*;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IDoctorService {
    void addNew(DoctorAddNewParam doctorAddNewParam);
    void delete(Long id);
    void updateInfoById(Long id, DoctorUpdateParam doctorUpdateParam);
    DoctorStandardVO getStandardById(Long id);

    PageData<DoctorListVO> list(Integer pageNum);

    PageData<DoctorListVO> list(Integer pageNum, Integer pageSize);

    List<DoctorNameListVO> lisDoctorName();
}
